package com.zhw.pojo.entry;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomerLoss {
    //客户流失表
    private Integer id;
    private String cusNo;//客户编号
    private String cusName;
    private String cusManager;//产品经理
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String lastOrderTime;//最后下单时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime confirmLossTime;//确认流失时间
    private Integer status;//流失状态 0 暂缓 1 已流失
    private String lossReason;//流失原因
    private Integer isValid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateDate;

}
